Fluid optimization